const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  publicPath: "./",
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    client: {
      overlay: false,
    },
    port: 8080,
    proxy: {
      "/api": {
        target: "http://zhqzxzs.365linghuo.cn/api", //代理的目标地址 
        pathRewrite: {
          //路径重写
          "^/api": "", //选择忽略拦截器里面的内容
        },
      },
    },
  },
});
